﻿using Bot.Domain.Entities;
using Comm100.Framework.Domain.Specifications;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Specifications
{
    public class ResponseFilterSpecification : BaseSpecification<Response>
    {
        public ResponseFilterSpecification(Guid parentId)
            : base(i => i.ParentId == parentId)
        {

        }
        public ResponseFilterSpecification(List<Guid> parentIds)
           : base(i => parentIds.Contains(i.ParentId))
        {

        }
    }
}
